package com.vote.common.mapper;

import com.vote.common.entity.VoteMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author gyg
 * @since 2021-05-21
 */
public interface VoteMenuMapper extends BaseMapper<VoteMenu> {

    /**
     * 查询所有菜单
     * @return
     */
    List<VoteMenu> queryAllMenus(@Param("type") String type);

}
